import request from '@/router/axios';


export const getUserList = (params) => {
  return request({
    url: '/api/blade-user/page',
    method: 'get',
    params: {
      ...params,
    }
  })
}

// 品牌
export const listBrand = (params) => {
  return request({
    url: '/api/select/listBrand',
    method: 'get',
    params: {
      ...params,
    }
  })
}

// 配置信息
export const listConfig = (params) => {
  return request({
    url: '/api/select/listConfig',
    method: 'get',
    params: {
      ...params,
    }
  })
}

// 物品类型
export const listGoodsType = (params) => {
  return request({
    url: '/api/select/listGoodsType',
    method: 'get',
    params: {
      ...params,
    }
  })
}

// 处置方
export const listHandler = (params) => {
  return request({
    url: '/api/select/listHandler',
    method: 'get',
    params: {
      ...params,
    }
  })
}

// 规格型号
export const listSpec = (params) => {
  return request({
    url: '/api/select/listSpec',
    method: 'get',
    params: {
      ...params,
    }
  })
}

// 员工
export const listStaff = (params) => {
  return request({
    url: '/api/select/listStaff',
    method: 'get',
    params: {
      ...params,
    }
  })
}

// 存放位置
export const listStock = (params) => {
  return request({
    url: '/api/select/listStock',
    method: 'get',
    params: {
      ...params,
    }
  })
}

// 供应商
export const listSupplier = (params) => {
  return request({
    url: '/api/select/listSupplier',
    method: 'get',
    params: {
      ...params,
    }
  })
}

// 单位
export const listUnit = (params) => {
  return request({
    url: '/api/select/listUnit',
    method: 'get',
    params: {
      ...params,
    }
  })
}

// 部门-使用人级联
export const listTreeStaff = (params) => {
  return request({
    url: '/api/select/listTreeStaff',
    method: 'get',
    params: {
      ...params,
    }
  })
}

// 调出-接收位置
export const listTreeStock = (params) => {
  return request({
    url: '/api/select/listTreeStock',
    method: 'get',
    params: {
      ...params,
    }
  })
}